package edu.purdue.cs.aggr;

public class Logger
{
  public static void log(Node node, String message) {
    System.out.println((node != null ? Controller.getIndexOf(node.getId()) : "null") + ": " + message);
  }

  public static void log(String node, String message) {
    System.out.println((node != null ? Controller.getIndexOf(node) : "null") + ": " + message);
  }
  
  public static void log(String message) {
    System.out.println(message);
  }
}
